﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Divisions.aspx.cs" Inherits="Divisions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">

    <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
    <script>



        $(function () {
            $(document).tooltip(
                {
                    track: false,
                    close: function (event, ui) {
                        ui.tooltip.hover(function () {
                            $(this).stop(true).fadeTo(400, 1);
                        },
                        function () {
                            $(this).fadeOut('400', function () {
                                $(this).remove();
                            });
                        });
                    },
                    open: function (event, ui) {
                        $(ui.tooltip).append('<a target="_blank" href="http://www.ucn.dk/Forside/Uddannelser.aspx">Klik her</a>');
                    }

                });
        });
    </script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:HiddenField ID="hfArgument" runat="server" />
    <asp:MultiView ID="mvDivisions" ActiveViewIndex="0" runat="server">
        <asp:View ID="v0" runat="server">
            <div id="divisionHeadtext">
                <asp:Label Text="Vælg Kategori" runat="server" />
            </div>
            <div id="imageDivisions">
                <!--Business-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Buisness.png" ID="btnBusiness" CssClass="img-align" runat="server" CommandArgument="Business"
                        OnClick="btnBuisness_Click" ToolTip="For mere information omkring hver uddannelse. " />
                    <asp:Label Text="Business" runat="server" ID="lblBuisness" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>
                <!--Pedagogue-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Paedagogik.png" ID="btnPedagogue" CssClass="img-align" runat="server" CommandArgument="Pedagogue"
                        OnClick="btnPedagogue_Click" ToolTip="For mere information omkring hver uddannelse. " />
                    <asp:Label Text="Pædagogik" runat="server" ID="lblPedagogue" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>
                <!--Interdisciplinary-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Tvaerfaglig.png" ID="btnInterdisciplinary" CssClass="img-align" runat="server" CommandArgument="Interdisciplinary"
                        OnClick="btnInterdisciplinary_Click" ToolTip="For mere information omkring hver uddannelse. " />
                    <asp:Label Text="Tværfagligt" runat="server" ID="lblInterdisciplinary" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>
                <!--HealthEducation-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Sundhed.png" ID="btnHealthEducation" CssClass="img-align" runat="server" CommandArgument="HealthEducation"
                        OnClick="btnHealthEducation_Click" ToolTip="For mere information omkring hver uddannelse. " />
                    <asp:Label Text="Sundhed" runat="server" ID="lblHealthEducation" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>
                <!--Technology-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Teknologi.png" ID="btnTechnology" CssClass="img-align" runat="server" CommandArgument="Technology"
                        OnClick="btnTechnology_Click" ToolTip="For mere information omkring hver uddannelse. " />
                    <asp:Label Text="Teknologi" runat="server" ID="lblTechnology" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>
                <!--All-->
                <div class="imageWrapper">
                    <asp:ImageButton ImageUrl="~/Images/Alle.png" ID="ImageButton1" CssClass="img-align" runat="server" CommandArgument="All"
                        OnClick="btnTechnology_Click" ToolTip="Under denne vises alle projekter der er blevet lavet." />
                    <asp:Label Text="Alle" runat="server" ID="lblAll" CssClass="division-text" Width="120px" ForeColor="#464646" />
                </div>

            </div>
            <div id="divisionWrapper">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
            <br />
            </div>
            <div id="status-aligning">
                <asp:Button ID="btnFrontPage" Text="Til forsiden" runat="server" CssClass="thanksButton" style="float:left !important; text-align:center;" OnClick="btnFrontPage_Click" />
                <asp:Label ID="lblStatus" runat="server" />
            </div>

        </asp:View>

        <asp:View runat="server" ID="v1">
            <div id="selectionWrapper">
                <div class="selectionInside">
                    <asp:ImageButton ID="btnCreate" OnClick="btnCreate_Click" CssClass="img-entrance" runat="server" ImageUrl="~/Images/OpretProjekt.png" style="margin-bottom:30px;" />
                    <asp:Label Text="Opret projekt" CssClass="selectionText" runat="server" />
                </div>
                <div class="selectionDivider">
                    
                </div>
                <div class="selectionInside">
                    <asp:ImageButton ID="btnFind" OnClick="btnFind_Click" ImageUrl="~/Images/FindProjekt.png" CssClass="img-entrance" runat="server" style="margin-bottom:30px;" />
                    <asp:Label Text="Find projekt" runat="server" CssClass="selectionText" />
                </div>
                <div style="float:left; text-align:left; width:100%; margin-top:200px;">
                    <asp:Button Text="Tilbage" runat="server" ID="btnGoBack" OnClick="btnGoBack_Click" CssClass="button" />
                </div>
            </div>
        </asp:View>

    </asp:MultiView>

</asp:Content>
